package com.ym.elk.controller;

/**
 * @version v1.0
 * @ProjectName: SpringCloud-Alibaba-YM
 * @ClassName: WildcardQueryController
 * @Description: TODO
 * @Author: 晨曦
 * @Date: 2020-12-17 9:17
 */
import com.ym.elk.service.WildcardQueryService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "查询-通配符查询")
@RestController
@RequestMapping("/query")
public class WildcardQueryController {

    @Autowired
    private WildcardQueryService wildcardQueryService;

    @ApiOperation(value = "通配符查询", notes = "通配符查询")
    @PostMapping("/wildcard")
    public Object wildcardQuery() {
        return wildcardQueryService.wildcardQuery();
    }

}
